home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-06-29 | 2.6 KB | 172 lines | [TEXT/MPS ] |
- /*
- * ODBCdbmsSetup.r
- *
- * Resource descriptions for the setup dialog.
- *
- * © 1993 by Apple Computer, Inc., all rights reserved.
- */
-
- #include "Types.r"
- #include "ODBCTypes.r"
-
- /*
- * the brand name resource. this string is displayed to the user
- * whenever a list of function sets with the same parent id's are
- * shown, e.g. the list of all odbc drivers. the current version of
- * the apple shared library manager doesn't have a way to associate
- * a brand name string with a shared library.
- */
-
- resource 'odbc' (0) {{ "Sample" }};
-
- /*
- * the setup dialog and its resources
- */
-
- resource 'DLOG' (134, "DBMSsetup") {
- {70, 50, 320, 430},
- dBoxProc,
- invisible,
- noGoAway,
- 0x0,
- 134,
- "DBMS Setup Example"
- };
-
- resource 'DITL' (134, "DBMSsetup") {
- { /* array DITLarray: 15 elements */
- /* [1] */
- {208, 280, 228, 360},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {208, 176, 228, 256},
- Button {
- enabled,
- "Cancel"
- },
- /* [3] */
- {44, 12, 60, 142},
- StaticText {
- disabled,
- "Data Source Name:"
- },
- /* [4] */
- {72, 56, 88, 141},
- StaticText {
- disabled,
- "Description:"
- },
- /* [5] */
- {100, 92, 116, 139},
- StaticText {
- disabled,
- "Other:"
- },
- /* [6] */
- {44, 144, 60, 366},
- EditText {
- enabled,
- ""
- },
- /* [7] */
- {72, 144, 88, 366},
- EditText {
- enabled,
- ""
- },
- /* [8] */
- {100, 144, 116, 366},
- EditText {
- enabled,
- ""
- },
- /* [9] */
- {148, 12, 164, 96},
- StaticText {
- disabled,
- "Translation:"
- },
- /* [10] */
- {148, 96, 164, 276},
- StaticText {
- disabled,
- "No Translator "
- " "
- },
- /* [11] */
- {146, 280, 166, 360},
- Button {
- enabled,
- "Select…"
- },
- /* [12] */
- {132, 12, 134, 369},
- UserItem {
- disabled
- },
- /* [13] */
- {176, 12, 178, 369},
- UserItem {
- disabled
- },
- /* [14] */
- {8, 12, 24, 368},
- StaticText {
- disabled,
- "Sample Data Source Configuration"
- },
- /* [15] */
- {24, 12, 26, 369},
- UserItem {
- disabled
- }
- }
- };
-
- resource 'dctb' (134, "DBMSsetup")
- {
- { /* array ColorSpec: 0 elements */
- }
- };
-
- resource 'ALRT' (1000, "String Too Long!", purgeable) {
- {40, 40, 164, 394},
- 1000,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (1000, "String Too Long!", purgeable) {
- { /* array DITLarray: 3 elements */
- /* [1] */
- {88, 248, 108, 328},
- Button {
- enabled,
- "So Sue Me"
- },
- /* [2] */
- {16, 16, 48, 48},
- Icon {
- disabled,
- 0
- },
- /* [3] */
- {16, 64, 68, 333},
- StaticText {
- disabled,
- "\"^0\" cannot be longer than ^1 characters."
- }
- }
- };
-